class A:

    def __init__(self, name):
        self.name = name

    def sayHello(self):
        return ('hello {}'.format(self.name))


class B:

    def __init__(self, a, b):
        self.a = int(a)
        self.b = int(b)

    def sayHello(self):
        # return a + b
        return self.a + self.b


class C(A, B):
    pass


hi = C('grace')
print(hi.sayHello())
